package com.iro.blog.Service;

import com.iro.blog.pojo.Comment;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface CommentService {
    List<Comment> listCommentByBlogId(Long blogId);//展示所有留言

    Comment saveComment(Comment comment);//评论留言

    Page<Comment> listComment(Pageable pageable);//暂时没实现的留言分页
}
